Piwik\Tracker\Request D

Total Complexity 148
Dependencies 22
Dependents 113
Total lines 909
Lines of code 566
Logical lines of code 315
Comment lines 143
Methods 46
Properties 11

Methods 46

Method Rating Maintainability Complexity Lines of code
isRequestExcluded()
B
40 17 61
getCustomTimestamp()
A
43 14 45
getVisitorId()
A
45 12 42
getLocalTime()
A
52 9 23
authenticateSuperUserOrAdminOrWrite()
A
49 8 28
authenticateTrackingApi()
A
47 7 37
getParam()
S
39 4 69
__construct()
S
54 6 22
getVisitorIdForThirdPartyCookie()
S
55 6 20
replaceUnsupportedUtf8Chars()
S
56 5 17
setThirdPartyCookie()
S
56 4 18
getIdSite()
S
59 4 15
getIpString()
S
63 3 11
getThirdPartyCookieVisitorId()
S
64 3 10
getCurrentTimestamp()
S
66 3 9
isTimestampValid()
S
68 3 7
makeThirdPartyCookieUID()
S
62 2 12
getForcedUserId()
S
69 2 7
getPlugins()
S
65 2 8
getClientHints()
S
71 2 5
getMetadata()
S
77 2 3
getUserAgent()
S
68 2 7
getIdSiteIfExists()
S
70 2 7
setParam()
S
68 2 7
isAuthenticated()
S
72 2 6
getVisitorIdAsBinary()
S
67 2 8
getParams()
S
82 1 3
getForcedVisitorId()
S
80 1 3
getRawParams()
S
82 1 3
setMetadata()
S
79 1 3
getTokenAuth()
S
82 1 3
getUserIdHashed()
S
78 1 3
truncateIdAsVisitorId()
S
79 1 3
isEmptyRequest()
S
82 1 3
setCurrentTimestamp()
S
81 1 3
getBrowserLanguage()
S
78 1 3
hasParam()
S
79 1 3
getIp()
S
80 1 3
getIdSiteUnverified()
S
71 1 5
getGoalRevenue()
S
78 1 3
getCookieDomain()
S
79 1 3
getCookiePath()
S
79 1 3
getCookieExpire()
S
78 1 3
getCookieName()
S
79 1 3
shouldUseThirdPartyCookie()
S
79 1 3
getCurrentDate()
S
79 1 3